x86: Common cpuid faulting support
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 11 Jan 2018 17:48:00 +0000 (17:48 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 16 Jan 2018 18:34:04 +0000 (18:34 +0000)
commit6e2fdc0f89024c7e99a11c8e2000699d027393db
tree4c4affdbdcba19f2dfa5611d13da0af9f27e3ee3
parentaca7d2a72e510a56a2c2871e3e9d0f602bdf732a
x86: Common cpuid faulting support

With CPUID Faulting offered to SVM guests, move Xen's faulting code to being
common rather than Intel specific.

This is necessary for nested Xen (inc. pv-shim mode) to prevent PV guests from
finding the outer HVM Xen leaves via native cpuid.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpu/common.c
xen/arch/x86/cpu/intel.c
xen/include/asm-x86/cpuid.h
xen/include/asm-x86/processor.h